﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartConference.Domain
{
    /// <summary>
    /// 权限信息
    /// </summary>
    [Table("PermissionInfo")]
    public class PermissionInfo:BaseEntity
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [Key]
        public long PermissionId { get; set; }
        /// <summary>
        /// 操作权限
        /// </summary>
        [MaxLength(200)]
        public string PermissionName { get; set; }=string.Empty;

        /// <summary>
        /// 字段权限
        /// </summary>
        [MaxLength(200)]
        public string PermissionNameDesc { get; set; } = string.Empty;
    }
}
